import platgo as pg


problem = pg.problems.Ackley(20)
N = 200

maxgen = 500
Algorithm = pg.algorithms.GA(maxgen=maxgen, problem=problem)
pop = Algorithm.go(N)

print(pop)
